<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Spring Security SSO</title>
    <link rel="stylesheet"
          href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"/>
</head>
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script>
>
<body>
<!--{email: "123456892", name: "haha", account: "110112", phone: "15094037891"}-->
<div class="container">
    <div class="col-sm-12">
        <h1>欢迎页面,个人信息</h1>
        账号: <span id="account"></span></br>
        Email: <span id="email"></span></br>
        姓名: <span id="name"></span></br>
        电话: <span id="phone"></span></br>

    </div>
</div>
<script type="text/javascript">

    $.get("/getUserInfo", function (data) {
        if (data) {
            $("#account").html(data.account);
            $("#email").html(data.email);
            $("#name").html(data.name);
            $("#phone").html(data.phone);
        }
    });

</script>
</body>
</html>